﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SMSGateway.Entities.Utils
{
    public class Authen
    {
        public bool AuthenRV(string username, string password)
        {
            MyConfig myconfig = new MyConfig();
            myconfig.GetMyConfig();
            if (username.Trim() == myconfig.rvUserName && password.Trim() == myconfig.rvPassword)
                return true;
            else return false;
        }
    }
}
